/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the  Microsoft Public License, please send an email to 
 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 * PARTICULAR PURPOSE.
 * ***************************************************************************/


#if !defined(AFX_PGLZOOMEVENT_H__8C7E8CEF_F6C0_46C3_AF9C_96EEF06B78D5__INCLUDED_)
#define AFX_PGLZOOMEVENT_H__8C7E8CEF_F6C0_46C3_AF9C_96EEF06B78D5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <pgl/mfc/PGLEvent.h>

/*! \brief Zoom event handler

  \ingroup EventHandlerGroup
*/
class PGLMFC_EXT_CLASS CPGLZoomEvent : public CPGLPropEvent  
{
public:
	PGLMFC_DECLARE_EVENT(CPGLZoomEvent, CPGLPropEvent);

	CPGLZoomEvent();
	virtual ~CPGLZoomEvent();

	virtual void OnLButtonUp( UINT nFlags, CPoint point );
	virtual void OnMouseMove(UINT nFlags, CPoint point);
	virtual BOOL OnMouseWheel( UINT nFlags, short zDelta, CPoint pt );

};

#endif // !defined(AFX_PGLZOOMEVENT_H__8C7E8CEF_F6C0_46C3_AF9C_96EEF06B78D5__INCLUDED_)
